package com.guigu.common.mapper;


import com.guigu.common.pojo.MDesignProcedure;
import com.guigu.common.vo.SearchVo;
import com.guigu.lc.serach.changeproductionprocessSerach;
import com.guigu.lc.view.desginmaterview;
import com.guigu.lc.view.mdesignprocedureview;

import java.util.List;

public interface MDesignProcedureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MDesignProcedure record);

    int insertSelective(MDesignProcedure record);

    MDesignProcedure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedure record);

    int updateByPrimaryKey(MDesignProcedure record);

    void insertMDesignProcedure(mdesignprocedureview mdesignprocedureview);

    //查询待审核的生产工序
    List<MDesignProcedure> queryBycheck(SearchVo<MDesignProcedure> searchVo);

    //产品定义人员查询到所有工序组成设计单信息列表
    List<MDesignProcedure> queryproductionall(SearchVo<MDesignProcedure> searchVo);

    //所有已通过审核的工序组成设计单
    List<MDesignProcedure> querychangeproduction(changeproductionprocessSerach serach);

    //修改生产工序审核为通过
    void updatedesignproductok(mdesignprocedureview mdesignprocedureview);
    //修改生产工序审核为没通过
    void updatedesignproductno(mdesignprocedureview mdesignprocedureview);

    void updatemdesignproductfalse(mdesignprocedureview mdesignprocedureview);

    void updatedesignmoduletagfalse(String id);

    List<MDesignProcedure> querymaterno();

    List<MDesignProcedure> querycheckmater();

    List<MDesignProcedure> queryallsymater();

    List<MDesignProcedure> querycallmatertrue();

    void updatewuliaozcbdsh(MDesignProcedure procedure);

    void updatewuliaoshejifalsed(desginmaterview desginmaterview);

    void updatewuliaoshejifokk(desginmaterview desginmaterview);

    MDesignProcedure  querydesidall(String id);

    void updatwwuliaoxiaoji(MDesignProcedure mDesignProcedure);

}